import org.zjx.client.ServiceClient;
import org.zjx.client.SocketClient;
import org.zjx.message.IMessage;

import java.util.HashMap;
import java.util.Map;

public class T2 {
    public static void main(String[] args) {
        ServiceClient serviceclient = ServiceClient.getInstance();
        serviceclient.getClient().setMessageListener(System.out::println);
        Map<String, Object> params = new HashMap<>();
        params.put("clientId", "5345");
        serviceclient.getClient().sendCommand("ACTION", params);
    }
}
